﻿#ifndef SETUP6WIND_H
#define SETUP6WIND_H

#include <QWidget>
#include <tcpclient.h>
#include <CommonHelper.h>
#include <QTimer>
#include <QMessageBox>
#include "tcts.h"
#include "ui_tcts.h"

namespace Ui {
class setup6wind;
}

class setup6wind : public QWidget
{
    Q_OBJECT

public:
    explicit setup6wind(QWidget *parent = 0);
    ~setup6wind();
signals:
    void changeTotalWindow();
    void changeAnalyWindow();
private slots:
    void on_returnBtn_clicked();

    void on_SaveBtn_2_clicked();

    void on_pushButton_9_clicked();

    void on_SaveBtn_clicked();

    void doorStatusChanged();
private:
    void showEvent(QShowEvent *event) override;

private:
    Ui::setup6wind *ui;
    TcpClient *tcpClient;
    CommonHelper *common;
    int xhval;
    int syhftime=1;
    QString syname;
    QTimer *timSend=new QTimer;
    tcts *tcts1;
};

#endif // SETUP6WIND_H
